<?php
require_once("connect.php");
$id = $_POST['id'];
mysqli_query($db,"delete from urltable where id=$id");
echo "success";
?>